import 'package:riverpod_t/page/car/data/model/info_model.dart';

/// 咨询操作类型
sealed class CarInfoOpType {
  const CarInfoOpType();
}

/// 无操作
class CarInfoNoneOp extends CarInfoOpType {
  const CarInfoNoneOp();
}

/// 点赞||取消点赞
class CarInfoLikeOp extends CarInfoOpType {
  final InfoModel model;
  CarInfoLikeOp({required this.model});
}

/// 删除
class CarInfoRemoveOp extends CarInfoOpType {
  final InfoModel model;
  CarInfoRemoveOp({required this.model});
}
